import time

# 获取当前日期
current_date = time.strftime("%Y-%m-%d", time.localtime())
print(current_date)